package com.hdaccp.lettingagency.dao;

import com.hdaccp.lettingagency.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleDao {
    public Role getRoleByUserId(int id) ;
    public List<Role> queryAll() ;
    public long getTotalCount(@Param("rname") String rname) ;
    public List<Role> query(@Param("rname") String rname, @Param("limit") int limit, @Param("offset") int offset) ;
}
